<template>
    子组件
    <p>{{ count }}</p>
    <button @click="count++">按钮</button>
</template>

<script lang="ts" setup>
import { ref } from "vue"
const props = defineProps(["aaa"])

let count = ref(0)

console.log("aaa的值是：", props.aaa)
</script>

<style></style>
